package com.sxkj.entity.mapper.sys;

import com.sxkj.entity.entity.sys.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleMapper {
    int insert(UserRole record);

    int insertSelective(UserRole record);

    void update(UserRole userRole);

    void deleteByUserId(@Param("userId") String userId);

    List<UserRole> searchUserRoleByRoleId(@Param("userId")  String userId);
}